package com.y.mytest.entity;

import java.io.Serializable;

/**
 * (Hero)实体类
 *
 * @author Y
 * @since 2021-04-17 17:56:36
 */
public abstract class Hero implements Serializable {
    private static final long serialVersionUID = 293768543922784617L;

    private Integer www;

    abstract void test();

    void test2() {

    }

    public static void main(String[] args) {
        Hero hero = new Hero() {
            @Override
            void test() {

            }
        };
    }

}